package com.coolbi.onsupai.core.entity;

import java.util.Date;

/**
 * @Description Coupon Entity 优惠券信息类
 * @author for2cold
 * @codeDate 2012-6-18 下午10:19:59
 * 
 */
public class Coupon extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 优惠券编号 */
	private String couponNo;
	/** 优惠券名称 */
	private String couponName;
	/** 等价金额 */
	private double equivalence;
	/** 使用最低条件金额 */
	private double requiredAmount;
	/** 生效时间 */
	private Date effectiveDate;
	/** 失效时间 */
	private Date futileDate;
	/** 使用状态 */
	private Integer status;
	/** 客户id */
	private Long customerId;
	/** 客户对象 */
	private Customer customer;

	/** 客户id */
	public Long getCustomerId() {
		return customerId;
	}

	/** 客户id */
	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	/** 使用状态 */
	public Integer getStatus() {
		return status;
	}

	/** 使用状态 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/** 客户对象 */
	public Customer getCustomer() {
		return customer;
	}

	/** 客户对象 */
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	/** 优惠券编号 */
	public String getCouponNo() {
		return couponNo;
	}

	/** 优惠券编号 */
	public void setCouponNo(String couponNo) {
		this.couponNo = couponNo;
	}

	/** 优惠券名称 */
	public String getCouponName() {
		return couponName;
	}

	/** 优惠券名称 */
	public void setCouponName(String couponName) {
		this.couponName = couponName;
	}

	/** 等价金额 */
	public double getEquivalence() {
		return equivalence;
	}

	/** 等价金额 */
	public void setEquivalence(double equivalence) {
		this.equivalence = equivalence;
	}

	/** 生效时间 */
	public Date getEffectiveDate() {
		return effectiveDate;
	}

	/** 生效时间 */
	public void setEffectiveDate(Date effectiveDate) {
		this.effectiveDate = effectiveDate;
	}

	/** 失效时间 */
	public Date getFutileDate() {
		return futileDate;
	}

	/** 失效时间 */
	public void setFutileDate(Date futileDate) {
		this.futileDate = futileDate;
	}

	/** 使用最低条件金额 */
	public double getRequiredAmount() {
		return requiredAmount;
	}

	/** 使用最低条件金额 */
	public void setRequiredAmount(double requiredAmount) {
		this.requiredAmount = requiredAmount;
	}
}
